SendEmail
≥4.5
Interface Function
Send email.
Request Parameter
Parameter | Required | Type | Remarks |
---|---|---|---|
emailTempCode | true | string | Email template code |
mailTo | true | string | Collection of email addresses of recipients |
mailCc | false | string | CC email address |
mappingData | false | Dictionary<string, string> |
Parameter replacement value of email template |
mailBCC | false | string | BCC email address |
Return Data Type
bool
Call Sample
var mappingData = new Dictionary<string, string>()
{
{"Name","DemoText"},
{"dataId",""}
};
Service.SendEmail("1d4b8978-6115-4243-830e-5d912d0b2f41",mailTo,mailCc,mappingData,mailBCC);